package com.hs.srm.admin.modules.cutpay.entity;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import cn.afterturn.easypoi.excel.annotation.Excel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hs.srm.base.common.annotation.DictMapping;
import com.hs.srm.base.common.utils.DictDataUtil.DictType;

/*
 * 扣款单头表
*/
@Setter
@Getter
@TableName("cutpay_header")
@ToString
public class CutpayHeaderEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	public CutpayHeaderEntity() {
		super();
	}

	/*
	 * PKID
	*/
	@TableId(value = "pk_id", type = IdType.UUID)
	@TableField("pk_id")
	@Excel(name = "PKID", orderNum = "1")
	private java.lang.String pkId;

	/*
	 * 扣款单号
	*/
	@TableField("co_no")
	@Excel(name = "扣款单号", orderNum = "2")
	private java.lang.String coNo;

	/*
	 * 扣款单类型
	*/
	@TableField("co_type")
	@Excel(name = "扣款单类型", orderNum = "3")
	@DictMapping(type=DictType.KKLX)
	private java.lang.String coType;
	
	/*
	 * 采购订单号
	*/
	@TableField("po_no")
	@Excel(name = "采购订单号", orderNum = "4")
	private java.lang.String poNo;

	/*
	 * 工厂
	*/
	@TableField("factory")
	@Excel(name = "工厂", orderNum = "4")
	@DictMapping(type=DictType.GC)
	private java.lang.String factory;

	/*
	 * 附件
	*/
	@TableField("attachment")
	@Excel(name = "附件", orderNum = "5")
	private java.lang.String attachment;

	/*
	 * 采购组
	*/
	@TableField("purch_group")
	@Excel(name = "采购组", orderNum = "6")
	@DictMapping(type=DictType.CGZ)
	private java.lang.String purchGroup;

	/*
	 * 供应商代码
	*/
	@TableField("vendor_code")
	@Excel(name = "供应商代码", orderNum = "7")
	private java.lang.String vendorCode;

	/*
	 * 供应商名称
	*/
	@TableField("vendor_name")
	@Excel(name = "供应商名称", orderNum = "8")
	private java.lang.String vendorName;

	/*
	 * 删除标志
	*/
	@TableField("delete_flag")
	@Excel(name = "删除标志", orderNum = "9")
	@DictMapping(type=DictType.SCZT)
	private java.lang.String deleteFlag;

	/*
	 * 创建人
	*/
	@TableField("created_by")
	@Excel(name = "创建人", orderNum = "10")
	private java.lang.String createdBy;

	/*
	 * 创建日期
	*/
	@TableField("creation_date")
	@Excel(name = "创建日期", orderNum = "11")
	@JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm", timezone = "GMT+8")
	private java.util.Date creationDate;

	/*
	 * 修改人
	*/
	@TableField("last_updated_by")
	@Excel(name = "修改人", orderNum = "12")
	private java.lang.String lastUpdatedBy;

	/*
	 * 修改日期
	*/
	@TableField("last_update_date")
	@Excel(name = "修改日期", orderNum = "13")
	@JsonFormat(pattern = "yyyy-MM-dd hh:ss:mm", timezone = "GMT+8")
	private java.util.Date lastUpdateDate;

}
